<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>练习form表单</title>
</head>
<body>
<form action="http://www.tmooc.cn">
  用户名: <input type="text" name="username" value="admin" placeholder="用户名" maxlength="5"><br>
  密码: <input type="password" value="密码" name="password" placeholder="密码" ><br>
  性别: <input type="radio" name="gender" id="1" value="nan">
  <label for="1">男</label>
  <input type="radio" name="gender" id="2" value="nv" checked>
  <label for="2">女</label><br>
  兴趣爱好: <input type="checkbox" name = "hobby" value="cy">抽烟
  <input type="checkbox" name = "hobby" value="hj" checked>喝酒
  <input type="checkbox" name = "hobby" value="dmj">打麻将<br>
  生日: <input type="date" name = "birthday" ><br>
  靓照: <input type="file" name = "file"><br>
  <input type="submit" value="注册">
</form>


</body>
</html>